package com.dorm.cj.extension.handlerMethodArgumentResolver;

import com.dorm.cj.common.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestHandlerMethodArgumentResolverController {

    @GetMapping("/testHandlerMethodArgumentResolver")
    public void test(@CurrentUser User user, String param) {
        System.out.println(user.toString());
        System.out.println(param);
    }
}
